package cn.codeinn.service1.task;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

import cn.codeinn.service1.service.MemberService;
import lombok.extern.slf4j.Slf4j;

@Component
@Slf4j
public class DemoTask {

	@Autowired
	private MemberService memberService;

	public void couponExpires() {
		log.error("执行....定时任务");
		memberService.selectByPrimaryKey(1);
	}
}
